home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-11-15 | 3.0 KB | 80 lines | [TEXT/ttxt] |
- # DemoPicture.map
- #
- # Example Mac-imagemap map file.
- # by: Lutz Weimann
- # latest modification at: 14th November 1994
- #
-
- # uncomment the following line to switch testmode on:
- #testmode
-
- # default originally defines the URL to be returned, if no region
- # specified below has been clicked: just points to some homepage.
- # (Should actually never be referenced, since point specifications
- # follow below.)
- default http://anywhere.host/
-
- # point xp,yp - specifies a point. The URL of the nearest point replaces
- # the
- # Each click outside a specific area within the left pictures side
- # map to the following url:
- point /imagemap/demomap/other_left.html
- 2,100
-
- # Each click outside a specific area within the right pictures side
- # map to the following url:
- point /imagemap/demomap/other_right.html 399,100
-
- # rect defines a rectangle by its upper left and lower right corner.
- #
- rect /imagemap/demomap/green_rect.gif 36,25 99,99
-
- # note: the following area (yellow rectangle) lies within the area of
- # red_circle. Since the first match in order is returned to the
- # Web-client, yellow_rect will be newer returned if placed after
- # red_circle.
- #
- rect /imagemap/demomap/yellow_rect.gif 162,60 192,79
-
- # circle defines a circle by the circles middle point and
- # an arbitrary point on the circles edge.
- #
- circle /imagemap/demomap/red_circle.gif 176,67 214,67
-
- # circ defines a circle or an ellipse by the upper left and
- # lower right corner of the covering rectangle.
- #
- # this specification will be probably not understood by the
- # httpd-imagemap program, and so, it has been written as a pseudo
- # comment. So this map file can be used by httpd-imagemap under
- # UNIX without any modifications (please tell me if I'm wrong with
- # this statement). This statement is interpreted by
- # Mac-imagemap, just as there were no leading characters #$ .
- #
- #$circ /imagemap/demomap/cyan_ellipse.gif 54,128 145,175
-
- # circrad defines a circle by its center point and its radius.
- # this type of specification will no longer be supported within
- # future versions. Use instead of
- # "circrad x,y r" the specification "circle x,y x+r,y"
- #
- #$circrad /imagemap/demomap/blue_circle.gif 286,149 24
-
- # Finally, two arbitrary polygonal regions are defined within
- # this map. Note that the first point and the last point of the
- # polygons match, just as you will get it usually when generating
- # these lines with WebMap. If the last point does not match the
- # first one, Mac-ImageMap internally adds a point to the polygon
- # behind the last one which has the same coordinates as the first
- # polygon-point.
- # Note also that the poly-specifications are written on multiple
- # lines. Mac-ImageMap just checks, if a line begins with a letter
- # (lowercase or uppercase) to identify a line where a new
- # specification begins.
- #
- poly /imagemap/demomap/pink_poly.gif 182,126
- 206,126 215,143 215,166 203,178 180,178 169,168 169,141 182,126
-
- poly /imagemap/demomap/green_poly.gif 301,11
- 321,51 349,51 319,81 343,107 296,83 250,110 277,81 246,50 273,51 301,11
-